package cn.tedu.storage.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Storage implements Serializable {
    private static final long serialVersionUID = 6037216427182140042L;

    private Long id;
    private Long productId;     //商品id
    private Integer total;      //总数
    private  Integer used;      //已出售
    private Integer residue;    //可用库存
    private Integer frozen;     //冻结kuc
}
